import request from '@/utils/request'
import { checkResult } from '@/utils/utils'
import { stringify } from 'qs'
/**
 * 表格列表
 * @param params
 * @returns {PromiseLike<T | never> | Promise<T | never> | *}
 */
export function fetchTableList(data: any) {
  return request({
    url: `/report/list`,
    method: 'post',
    data,
  })
}

/**
 * 删除表格数据
 * @param params
 * @returns {PromiseLike<T | never> | Promise<T | never> | *}
 */
export function fetchDeleteReport(data: any) {
  return request({
    url: '/report/delete',
    method: 'post',
    data: data
  })
}

// 获取三级列表
export function v401(data: any) {
  return request({
    url: `/401`,
    method: 'get',
    params:data
  })
}
